package org.streets.database;
/**
 * [P]arameter [S]tatement value helper class
 * 名字参数结构 
 * P: parameter name 
 * V: parameter value
 * 
 * @author dzb
 *
 */
public final class PV {
	
	public final String name;
	public Object value;
	
	private PV(String n, Object v) {
		name = n;
		value = v;
	}	
	
	public static final PV nv(String n, Object v) {
		return new PV(n, v);
	}
	
	public static final Object[] none() {
		return new Object[0];
	}
	
	public static final Object[] of(Object... values) {
		return values;
	}	
}
